//
//  LinkText.swift
//  casdon_swiftUI
//
//  Created by ww on 2025/4/5.
//  自定义文本链接视图

import SwiftUI

struct LinkText: View {
    var text: LocalizedStringKey
    var action: () -> Void

    var body: some View {
        Button(action: action) {
            Text(text)
                .foregroundColor(AppColors.Brand6)
                .font(.system(size: 14))
        }
        .buttonStyle(PlainButtonStyle())
    }
}
